home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Intelligent classes 1.0 / CIntelligentPanorama.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  855 b   |  35 lines  |  [TEXT/KAHL]

  1. /****
  2.  * CIntelligentPanorama.h
  3.  *
  4.  *    This class makes the Panorama a little more intelligent.
  5.  *
  6.  *    Copyright © 1993 Quipus, by Mårten Sörliden.  All rights reserved.
  7.  *
  8.  ****/
  9.  
  10. #define _H_CIntelligentPanorama            /* Include this file only once */
  11.  
  12. #include <CPanorama.h>
  13.  
  14.  
  15. struct CIntelligentPanorama : CPanorama {
  16.  
  17.     Boolean autoScrolled;        // Used by ChangeSize
  18.  
  19. /** Construction and destruction methods **/
  20.     void        IIntelligentPanorama(CView *anEnclosure, CBureaucrat *aSupervisor,
  21.                             short aWidth, short aHeight,
  22.                             short aHEncl, short aVEncl,
  23.                             SizingOption aHSizing, SizingOption aVSizing);
  24.     void        Dispose(void);
  25.  
  26. /** Accessing methods **/
  27.     void        SetBounds(LongRect *aBounds);
  28.  
  29. /** Drawing methods **/
  30.     void        ResizeFrame(register Rect *delta);
  31.  
  32. /** Size and location methods **/
  33.     void        ChangeSize(register Rect *delta, Boolean redraw);
  34. };
  35.